package com.school.dto.user;

import javax.validation.constraints.NotNull;
import java.util.Date;

public class InsertTeacherUserDTO {

    @NotNull(message = "用户真实名不能为空")
    private String name;

    @NotNull(message = "用户登录名不能为空")
    private String userName;

    @NotNull(message = "联系电话不能为空")
    private String phone;

    @NotNull(message = "用户密码不能为空")
    private String password;

    @NotNull(message = "用户性别不能为空")
    private Integer sex;

    @NotNull(message = "用户角色不能为空")
    private Integer role;

    @NotNull(message = "入校时间不能为空")
    private Long inSchool;

    @NotNull(message = "研究方向不能为空")
    private String direction;

    @NotNull(message = "开始工作时间不能为空")
    private Long startWork;

    @NotNull(message = "学系不能为空")
    private Integer departmentId;

    @NotNull(message = "职称不能为空")
    private Integer title;

    public Integer getTitle() {
        return title;
    }

    public void setTitle(Integer title) {
        this.title = title;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }


    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public Long getInSchool() {
        return inSchool;
    }

    public void setInSchool(Long inSchool) {
        this.inSchool = inSchool;
    }

    public Long getStartWork() {
        return startWork;
    }

    public void setStartWork(Long startWork) {
        this.startWork = startWork;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }
}
